package com.gec.it.entity;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author wf
 * @since 2022-01-05
 */
@TableName("HP_PERSONS")
@KeySequence(value = "SEQ_HP_PERSONS")
public class Persons implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "PS_ID",type = IdType.INPUT)
    private Integer psId;

    @TableField("PS_NAME")
    private String psName;

    @TableField("PS_SEX")
    private Integer psSex;

    @TableField("PS_LOGIN")
    private String psLogin;

    @TableField("PS_PWD")
    private String psPwd;

    @TableField("PS_MONEY")
    private BigDecimal psMoney;

    @TableField("PS_PHONE")
    private String psPhone;

    @TableField("PS_EMAIL")
    private String psEmail;

    @TableField("PS_SCORE")
    private Integer psScore;

    /**
     * 1-正常 2-暂停挂号 3-注销
     */
    @TableField("PS_STATE")
    private Integer psState;

    public Integer getPsId() {
        return psId;
    }

    public void setPsId(Integer psId) {
        this.psId = psId;
    }

    public String getPsName() {
        return psName;
    }

    public void setPsName(String psName) {
        this.psName = psName;
    }

    public Integer getPsSex() {
        return psSex;
    }

    public void setPsSex(Integer psSex) {
        this.psSex = psSex;
    }

    public String getPsLogin() {
        return psLogin;
    }

    public void setPsLogin(String psLogin) {
        this.psLogin = psLogin;
    }

    public String getPsPwd() {
        return psPwd;
    }

    public void setPsPwd(String psPwd) {
        this.psPwd = psPwd;
    }

    public BigDecimal getPsMoney() {
        return psMoney;
    }

    public void setPsMoney(BigDecimal psMoney) {
        this.psMoney = psMoney;
    }

    public String getPsPhone() {
        return psPhone;
    }

    public void setPsPhone(String psPhone) {
        this.psPhone = psPhone;
    }

    public String getPsEmail() {
        return psEmail;
    }

    public void setPsEmail(String psEmail) {
        this.psEmail = psEmail;
    }

    public Integer getPsScore() {
        return psScore;
    }

    public void setPsScore(Integer psScore) {
        this.psScore = psScore;
    }

    public Integer getPsState() {
        return psState;
    }

    public void setPsState(Integer psState) {
        this.psState = psState;
    }

    @Override
    public String toString() {
        return "Persons{" +
        ", psId=" + psId +
        ", psName=" + psName +
        ", psSex=" + psSex +
        ", psLogin=" + psLogin +
        ", psPwd=" + psPwd +
        ", psMoney=" + psMoney +
        ", psPhone=" + psPhone +
        ", psEmail=" + psEmail +
        ", psScore=" + psScore +
        ", psState=" + psState +
        "}";
    }
}
